import yagmail
def qwe(a):
    qwer=yagmail.SMTP(user="3525402708@qq.com",password="reurpdqzctwcdbaj",host="smtp.qq.com")
    qwer.send(to="3525402708@qq.com",subject="维度电商系统接口测试报告",contents="这个是测试报告",attachments=a)